package com.kunbo.cn.service.core.sale;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.data.domain.Page;

import com.kunbo.cn.entity.core.sale.OrderCarryOver;
import com.kunbo.cn.entity.core.vo.SalesOrders;
import com.kunbo.cn.entity.system.Depart;

public interface OrderCarryOverService {
	public void save(OrderCarryOver carryOver);
	public void update(OrderCarryOver carryOver);
	
	public List<SalesOrders> getSalesOrder(HttpServletRequest request,HttpServletResponse response) throws SQLException;
	public int updateOrderNum (String OldOrder,String newOrder) throws SQLException;
	public int updateOrderMargin(HttpServletRequest request,HttpServletResponse response) throws SQLException;
	public int editOrderMargin(HttpServletRequest request,HttpServletResponse response) throws SQLException;
	//修改审核状态0已经审核
	public void updateExamineState(OrderCarryOver carryOver);
	public void updateSate(OrderCarryOver carryOver);
	public void delete(String id);
	
	//根据id查找部门
	public OrderCarryOver findById(String id);
	Page<OrderCarryOver> findOrderCarryOver(String noticeCode, Integer pageNo,Integer pageSize);

}
